{template "content","header"}
<link href="{STATIC_PATH}/css/reset.css" rel="stylesheet">
<link href="{STATIC_PATH}/css/news.css" rel="stylesheet">

{pc:block pos="show_banner"}{/pc}
{template "content","search_bar"}

<div class="blk-main">
    <div class="blk plc">
        <!-- HTML -->
        <div class="p12-curmbs-1" navcrumbs=""> <b> 您的位置：</b><a href="{siteurl($siteid)}">首页</a><span> > </span> 搜索</div>
    </div>
    <div class="clear"></div>
    <div class="blk-xs fl">
        <div class="fdh-01 blk">
            <div class="fdh-01-tit">
                <h3>搜索分类</h3>
            </div>
            <div class="fdh-01-nav">
                {loop $search_model $k=>$v}
                <div class="fdh-01-nav-one">
                    <h3 {if $v['typeid']==$typeid} class="sidenavcur"{/if}><a href="?m=search&c=index&a=init&typeid={$v['typeid']}&q={urlencode($search_q)}&siteid={$siteid}&time={$time}">{$v['name']}</a></h3>
                </div>
                {/loop}
            </div>
            <div class="clear"></div>
        </div>
        {pc:block pos="list_left_hotline"}{/pc}
    </div>
    <div class="blk-sm fr">
        <div class="p14-infolist-1">
            <div class="p14-infolist-1-list">
                {loop $data $r}
                <dl>
                    <dt> <a href="{$r[url]}"><img src="{$r[thumb]}" title="{$r[title]}"></a> </dt>
                    <dd>
                        <h4><a href="{$r[url]}" >{$r[title]}</a></h4>
                        <div class="p14-infolist-1-list-desc">{$r[description]}</div>
                        <div class="p14-infolist-1-list-deta"> <a href="{$r[url]}" title="{$r[title]}"> 了解详情 </a> </div>
                    </dd>
                </dl>
                {/loop}
            </div>
            <div class="clear"></div>
        </div>
        <div class="pagebar">
            <div class="pagination">{$pages}
            </div>
        </div>
        {if !$data}
        <div class="tac text-secondary">本分类下无任何数据！</div>
        {/if}

    </div>
    <div class="clear"></div>
</div>

{template "content","footer"}